//
//  BaseViewController.m
//  Coco_Music
//
//  Created by K。 on 15/6/19.
//  Copyright (c) 2015年 寇广超. All rights reserved.
//

#import "BaseViewController.h"
#import <AFNetworkReachabilityManager.h>
#import "Network.h"

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    
   
    


    

    
}

-(void)add:(NSMutableArray *)MusicArray indexPath:(NSInteger)row
{
    PlayingViewController *play = [PlayingViewController shareHandleController];
    play.array = MusicArray;
    play.indexPath = row;
    UINavigationController *navier = [[UINavigationController alloc]initWithRootViewController:play];
    [self presentViewController:navier animated:YES completion:^{
        
    }];
    
    [navier release];
}






- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
